# $NetBSD: Makefile,v 1.6 2012/10/07 17:17:27 asau Exp $

DISTNAME=	tctool-0.9.7
CATEGORIES=	net
MASTER_SITES=	http://download.berlios.de/speedmodem50b/ \
		http://download2.berlios.de/speedmodem50b/ \
		http://downloads.openwrt.org/sources/ \
		http://mirror2.openwrt.org/sources/
EXTRACT_SUFX=	.zip

MAINTAINER=	schwarz@NetBSD.org
HOMEPAGE=	http://speedmodem50b.berlios.de/
COMMENT=	Speed Modem 50B/50B+/200/Cellpipe CELL 19A-BX utility
LICENSE=	gnu-gpl-v2

WRKSRC=			${WRKDIR}/${PKGBASE}/src
NO_CONFIGURE=		YES
USE_TOOLS+=		gmake
USE_LANGUAGES=		c++
INSTALLATION_DIRS=	bin

CXXFLAGS.Linux+=	-DCSTDLIB

BUILD_TARGET=	tctool

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/tctool ${DESTDIR}${PREFIX}/bin

.include "../../mk/bsd.pkg.mk"
